<?php get_header();courses_style()?>
<div class="box">
						<div class="box-title"><h1><?php $catobj=get_category($cat);echo $catobj->name?></h1></div> 
						
						<?php 
						$i=0;
						while(have_posts()):the_post();						
						$i++;
						$price=post_custom('price');
						?>
						
						<div class="box-item" style="<?php if($i%2==0)echo 'margin-right:0;';?>">
							<div class="box-image"><a href="<?php echo the_permalink()?>"><img alt="<?php the_title();?>" title="<?php the_title();?>" width="184" src="<?php echo get_site_url().'/'.post_custom('image')?>" /></a></div>
							
								<div id="title"><a href="<?php echo the_permalink()?>"><h2><?php the_title();?></h2></a></div>
								<div id="description">
									<?php if(!empty($price)) echo '<b>'.$price.'</b><br />';echo post_custom('description');?>
									
								</div>
							
							<div class="clear"></div>
						</div>	
						<?php if($i%2==0)echo '<div class="clear20"></div>'?>					
						<?php endwhile; ?>
						
					</div>
<?php get_footer(); ?>